﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="RyanLam.NET.Web.MediSoft.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Constellation Admin Skin</title>
    <link href="WebComponents/ACT/Login.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="WebComponents/ACT/Login.js"></script>
    <!--[if lte IE 8]><script type="text/javascript" src="WebComponents/ACT/standard.ie.js"></script><![endif]-->
</head>
<body class="special-page login-bg dark">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <!--[if lt IE 9]><div class="ie"><![endif]-->
    <!--[if lt IE 8]><div class="ie7"><![endif]-->
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <section id="login-block"> 
		<div class="block-border"><div class="block-content"> 
				
			<h1>Medisoft</h1> 
			<div class="block-header">Please login</div>
				
			<div class="form with-margin"> 


                    <asp:Login ID="Login1" runat="server">
            <LayoutTemplate>
                                     <table cellpadding="0" cellspacing="0" width="350" style="border: 0px solid #000;">
                                 <tr>
                                    <td align="right" style="padding: 3px;">
                                           <asp:RequiredFieldValidator CssClass="float-left" ID="UserNameRequired" runat="server" 
                                            ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                            ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                   <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label>
                                    </td>
                                    <td style="padding: 3px;">
                                        <asp:TextBox ID="UserName" CssClass="full-width" runat="server"></asp:TextBox>
                                      </td>
                                </tr>
                                <tr>
                                    <td align="right" style="padding: 3px;">
                                         <asp:RequiredFieldValidator ID="PasswordRequired" CssClass="float-left" runat="server" 
                                            ControlToValidate="Password" ErrorMessage="Password is required." 
                                            ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                      <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label>
                                    </td>
                                    <td style="padding: 3px;">
                                        <asp:TextBox ID="Password" CssClass="full-width" runat="server" TextMode="Password"></asp:TextBox>
                                     </td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="padding: 3px;">
                                        <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />
                                  
                                        <asp:Button ID="LoginButton" runat="server" CssClass="button float-right" style="cursor: pointer;" CommandName="Login" Text="Log In" 
                                            ValidationGroup="Login1" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2" style="color:Red;">
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                    </td>
                                </tr>
                            </table>
   
            </LayoutTemplate>
        </asp:Login>

       
			<div class="form"> 
				<fieldset class="grey-bg no-margin collapse"> 
					<legend><a href="javascript:void(0)">Lost password?</a></legend> 
					<p class="input-with-button"> 
						<label for="recovery-mail">Enter your e-mail address</label> 
				<asp:textbox ID="tbxLostPassword" cssclass="full-width" runat="server" />   
				<asp:Button ID="btnSend" cssclass="float-right button " style="cursor: pointer;" Text="Send" runat="server" 
                            onclick="btnSend_Click" />
				</p> 
				</fieldset> 
			</div> 
		</div></div> 
	</section>
        </ContentTemplate>
    </asp:UpdatePanel>
    <!--[if lt IE 8]></div><![endif]-->
    <!--[if lt IE 9]></div><![endif]-->
    </form>
</body>
</html>
